package cn.xfdzx.android.apps.shop.model;


import cn.xfdzx.android.apps.shop.bean.AddAddressBeen;
import cn.xfdzx.android.apps.shop.bean.AddLiveGoodsBeen;
import cn.xfdzx.android.apps.shop.bean.AddressListBeen;
import cn.xfdzx.android.apps.shop.bean.DeleteAddressBeen;
import cn.xfdzx.android.apps.shop.bean.StoreGoodsListBeen;
import cn.xfdzx.android.apps.shop.contract.AddressListContract;
import cn.xfdzx.android.apps.shop.contract.VideoGoodContract;
import cn.xfdzx.android.apps.shop.net.RetrofitClient;
import io.reactivex.Flowable;

/**
 * @author azheng
 * @date 2018/6/4.
 * Description：
 */
public class VideoGoodModel implements VideoGoodContract.Model {




    @Override
    public Flowable<StoreGoodsListBeen> initStoreGoodsData(String page, String limit,String keyword) {
        return RetrofitClient.getInstance().getApi().getStoreGoodsList( page,limit,keyword);
    }

    @Override
    public Flowable<AddLiveGoodsBeen> initAddLiveGoodsData(String live_id, String goods_ids) {
        return RetrofitClient.getInstance().getApi().addLiveGoods( live_id,goods_ids  );
    }
}
